//
//  ZBDrawerTransition.h
//  ZBSlideMemuManger
//
//  Created by apple on 2018/5/31.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZBSlideMemuMangerConfiguration.h"
//转场类型
typedef NS_ENUM(NSUInteger,ZBDrawerTransitionType) {
    ZBDrawerTransitionType_Show = 0,      // 显示抽屉
    ZBDrawerTransitionType_Hidden,        // 隐藏抽屉
};

//动画类型
typedef NS_ENUM(NSUInteger,ZBDrawerAnimationType) {
    ZBDrawerAnimationType_Default = 0,
    ZBDrawerAnimationType_Mask = 1
};

@interface ZBDrawerTransition : NSObject<UIViewControllerAnimatedTransitioning>

+ (instancetype)transitionWithType:(ZBDrawerTransitionType)transitionType animationType:(ZBDrawerAnimationType)animationType configuration:(ZBSlideMemuMangerConfiguration *)configuration;

- (instancetype)initWithTransitionType:(ZBDrawerTransitionType)transitionType animationType:(ZBDrawerAnimationType)animationType configuration:(ZBSlideMemuMangerConfiguration *)configuration;



@end


